package com.dbg.entity;

import java.util.List;

public class Language {

    private Long id;
    private String name;
    private String fileName;
    private List<Long> patternsId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public List<Long> getPatternsId() {
        return patternsId;
    }

    public void setPatternsId(List<Long> patternsId) {
        this.patternsId = patternsId;
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    @Override
    public String toString() {
        return "Language{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", fileName='" + fileName + '\'' +
                ", patternsId=" + patternsId +
                '}';
    }
}
